package com.sgcc.sx.pmos.e_sx_home.contract;

import com.sgcc.sx.pmos.common.base.IView;
import com.sgcc.sx.pmos.common.bean.QueryPriceTrendBean;
import com.sgcc.sx.pmos.e_sx_home.bean.MarketSituationBean;
import com.sgcc.sx.pmos.e_sx_home.bean.NoTimeDivisionPriceTrendBean;
import com.sgcc.sx.pmos.e_sx_home.bean.TimeDivisionPriceTrendBean;


public class MarketSituationContract {
    public interface View extends IView {


        void querySuccess(MarketSituationBean bean);


        /**
         * 分时价格浮动项趋势返回
         *
         * @param bean
         */
        void queryTimeDivisionPriceTrendSuccess(TimeDivisionPriceTrendBean.DadaBean bean);

        /**
         * 不分时价格浮动项趋势返回
         *
         * @param bean
         */
        void queryNoTimeDivisionPriceTrendSuccess(NoTimeDivisionPriceTrendBean.DadaBean bean);

        /**
         * 市场均价返回
         *
         * @param bean
         */
        void queryPriceTrendSuccess(QueryPriceTrendBean.DadaBean bean);

        void queryFailed();
    }

    public interface Presenter {
        void getData();

        /**
         * 市场均价
         */
        void queryPriceTrend();

        /**
         * 分时价格浮动项趋势
         */
        void queryTimeDivisionPriceTrend(String startDate);

        /**
         * 不分时价格浮动项趋势
         */
        void queryNoTimeDivisionPriceTrend(String endDate, String startDate);


    }
}